package com.yh.rent.biz.impl;

import java.util.List;

import com.yh.rent.biz.UserBiz;
import com.yh.rent.dao.UserDao;
import com.yh.rent.dao.impl.UserDaoImpl;
import com.yh.rent.entity.User;

public class UserBizImpl implements UserBiz {
	UserDao dao = new UserDaoImpl() ;
	@Override
	public List<User> getAllUsers() {
		return dao.getAllUsers();
	}
	@Override
	public int addUser(User user) {
		return dao.addUser(user);
	}

}
